package org.jeecg.modules.hxrencai.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.hxrencai.bo.AreaBo;
import org.jeecg.modules.hxrencai.entity.StudyPark;
import org.jeecg.modules.hxrencai.mapper.StudyParkMapper;
import org.jeecg.modules.hxrencai.service.IStudyParkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 园区/研究院信息
 * @Author: jeecg-boot
 * @Date: 2019-11-24
 * @Version: V1.0
 */
@Service
public class StudyParkServiceImpl extends ServiceImpl<StudyParkMapper, StudyPark> implements IStudyParkService {
    @Autowired
    private StudyParkMapper studyParkMapper;

    @Override
    public List<AreaBo> queryProvinceNumByArea(String importType) {
        return studyParkMapper.queryProvinceNumByArea(importType);
    }

    @Override
    public int getNumByProvince(String province, String importType) {
        return studyParkMapper.getNumByProvince(province, importType);
    }
}
